package mrusanov.images

private [images] class LazyImage(path:String, xOffset:Int, yOffset:Int, alpha:Float) extends Image(xOffset, yOffset, alpha){
  lazy val bufferedImage = ImageCache.get(path)

  def imagePath = Some(path)
}
